package radioButton;

import javax.swing.*;

import java.awt.*;
public class TestRadioButton extends JFrame {
	private static final long serialVersionUID = 1L;
	
	public static void main(String[] args) {
	ButtonGroup btnGroup = 	new ButtonGroup();
	JRadioButton mujer = new JRadioButton("mujer", true);
	JRadioButton hombre = new JRadioButton("hombre");
	btnGroup.add(mujer);
	btnGroup.add(hombre);

	
	
	}
	
}
